// 个人中心（房东）
export default [
  {
    name: 'myRenter',
    path: '/landlord/myRenter',
    meta: {
      title: '房东-我的租客',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/myRenter'], resolve) }
  },
  {
    name: 'order',
    path: '/landlord/order',
    meta: {
      title: '房东-房租订单',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/renterOrder'], resolve) }
  },
  {
    name: 'landlordOrderDetail',
    path: '/landlordOrderDetail/:orderId',
    meta: {
      title: '房东-订单详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/renterOrderDetail'], resolve) }
  },
  {
    name: 'renewOrder',
    path: '/landlord/renewOrder/:orderId',
    meta: {
      title: '房东-续租详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/renewOrderDetail'], resolve) }
  },
  {
    name: 'cancelOrder',
    path: '/landlord/cancelOrder/:orderId',
    meta: {
      title: '房东-退租详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/cancelOrderDetail'], resolve) }
  },
  {
    name: 'contract',
    path: '/landlord/contract',
    meta: {
      title: '房东-出租合同',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/renterContract'], resolve) }
  },
  {
    name: 'reservation',
    path: '/landlord/reservation',
    meta: {
      title: '房东-租客预约',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/landlord/renterReservation'], resolve) }
  }
]
